<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class MoneyCategoriesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('money_categories')->delete();
        
        \DB::table('money_categories')->insert(array (
            0 => 
            array (
                'id' => 1,
                'book_id' => 1,
                'name' => '工资',
                'icon' => '💰',
                'type' => 1,
                'sort' => 1,
                'description' => '来自工作的固定收入',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            1 => 
            array (
                'id' => 2,
                'book_id' => 1,
                'name' => '投资',
                'icon' => '📈',
                'type' => 1,
                'sort' => 2,
                'description' => '投资理财获得的收益',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            2 => 
            array (
                'id' => 3,
                'book_id' => 1,
                'name' => '兼职',
                'icon' => '👔',
                'type' => 1,
                'sort' => 3,
                'description' => '兼职工作获得的收入',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            3 => 
            array (
                'id' => 4,
                'book_id' => 1,
                'name' => '其他',
                'icon' => '🎯',
                'type' => 1,
                'sort' => 4,
                'description' => '其他各类收入',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            4 => 
            array (
                'id' => 5,
                'book_id' => 1,
                'name' => '餐饮',
                'icon' => '🍽️',
                'type' => 2,
                'sort' => 5,
                'description' => '日常饮食相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            5 => 
            array (
                'id' => 6,
                'book_id' => 1,
                'name' => '交通',
                'icon' => '🚗',
                'type' => 2,
                'sort' => 6,
                'description' => '交通和出行相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            6 => 
            array (
                'id' => 7,
                'book_id' => 1,
                'name' => '购物',
                'icon' => '🛍️',
                'type' => 2,
                'sort' => 7,
                'description' => '各类购物消费支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            7 => 
            array (
                'id' => 8,
                'book_id' => 1,
                'name' => '娱乐',
                'icon' => '🎮',
                'type' => 2,
                'sort' => 8,
                'description' => '娱乐和休闲相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            8 => 
            array (
                'id' => 9,
                'book_id' => 1,
                'name' => '住房',
                'icon' => '🏡',
                'type' => 2,
                'sort' => 9,
                'description' => '住房相关的各项支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            9 => 
            array (
                'id' => 10,
                'book_id' => 1,
                'name' => '健康',
                'icon' => '🏥',
                'type' => 2,
                'sort' => 10,
                'description' => '医疗和健康相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            10 => 
            array (
                'id' => 11,
                'book_id' => 1,
                'name' => '学习',
                'icon' => '📚',
                'type' => 2,
                'sort' => 11,
                'description' => '教育和学习相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            11 => 
            array (
                'id' => 12,
                'book_id' => 1,
                'name' => '通讯',
                'icon' => '📞',
                'type' => 2,
                'sort' => 12,
                'description' => '通讯相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            12 => 
            array (
                'id' => 13,
                'book_id' => 1,
                'name' => '社交',
                'icon' => '🥂',
                'type' => 2,
                'sort' => 13,
                'description' => '社交相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            13 => 
            array (
                'id' => 14,
                'book_id' => 1,
                'name' => '金融',
                'icon' => '💳',
                'type' => 2,
                'sort' => 14,
                'description' => '金融和理财相关支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
            14 => 
            array (
                'id' => 15,
                'book_id' => 1,
                'name' => '其他',
                'icon' => '📝',
                'type' => 2,
                'sort' => 15,
                'description' => '其他各类支出',
                'created_at' => '2025-06-12 12:38:37',
                'updated_at' => '2025-06-12 12:38:37',
            ),
        ));
        
        
    }
}